﻿namespace ImapComponent.Net.Mail.Imap4
{
    using System;

    /// <summary>
    /// Represents mailbox flags.
    /// </summary>
    [Flags]
    public enum MailboxFlags
    {
        /// <summary>
        /// No flags.
        /// </summary>
        None = 0,
        /// <summary>
        /// It is not possible for any child levels of hierarchy to exist
        /// under this name; no child levels exist now and none can be
        /// created in the future.
        /// </summary>
        Noinferiors = 1,
        /// <summary>
        /// It is not possible to use this name as a selectable mailbox.
        /// </summary>
        Noselect = 2,
        /// <summary>
        /// The mailbox has been marked "interesting" by the server; the
        /// mailbox probably contains messages that have been added since
        /// the last time the mailbox was selected.
        /// </summary>
        Marked = 4,
        /// <summary>
        /// The mailbox does not contain any additional messages since the
        /// last time the mailbox was selected.
        /// </summary>
        Unmarked = 8
    }
}
